package com.zhai.domain.task.repository;

import com.zhai.domain.task.model.entity.TaskEntity;
import com.zhai.domain.task.service.TaskService;

import java.util.List;

/**
 * @Description:
 * @ClassName: ITaskRepository
 * @Author: zhaiyongxin
 * @Date: 2025/3/5 21:20
 * @Version: 1.0
 */
public interface ITaskRepository {
    List<TaskEntity> queryNoSendMessageTaskList();

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);

    void sendMessage(TaskEntity taskEntity);
}
